home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 1.iso / dist / fw_fortune-mod.idb / usr / freeware / src / fortune-mod / patches.z / patches
Text File  |  2002-04-08  |  4KB  |  115 lines

  1. --- ./util/Makefile.in    Sat Aug  5 22:28:35 2000
  2. +++ ../fortune-mod-1.2.1/./util/Makefile.in    Tue Feb  5 06:51:11 2002
  3. @@ -293,22 +293,24 @@
  4.  
  5.  %.o: %.c
  6.      @echo '$(COMPILE) -c $<'; \
  7. -    $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  8. -    @-cp .deps/$(*F).pp .deps/$(*F).P; \
  9. -    tr ' ' '\012' < .deps/$(*F).pp \
  10. -      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  11. -        >> .deps/$(*F).P; \
  12. -    rm .deps/$(*F).pp
  13. +#    $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  14. +#    @-cp .deps/$(*F).pp .deps/$(*F).P; \
  15. +#    tr ' ' '\012' < .deps/$(*F).pp \
  16. +#      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  17. +#        >> .deps/$(*F).P; \
  18. +#    rm .deps/$(*F).pp
  19. +    $(COMPILE) -c $<
  20.  
  21.  %.lo: %.c
  22.      @echo '$(LTCOMPILE) -c $<'; \
  23. -    $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  24. -    @-sed -e 's/^\([^:]*\)\.o[     ]*:/\1.lo \1.o :/' \
  25. -      < .deps/$(*F).pp > .deps/$(*F).P; \
  26. -    tr ' ' '\012' < .deps/$(*F).pp \
  27. -      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  28. -        >> .deps/$(*F).P; \
  29. -    rm -f .deps/$(*F).pp
  30. +#    $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  31. +#    @-sed -e 's/^\([^:]*\)\.o[     ]*:/\1.lo \1.o :/' \
  32. +#      < .deps/$(*F).pp > .deps/$(*F).P; \
  33. +#    tr ' ' '\012' < .deps/$(*F).pp \
  34. +#      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  35. +#        >> .deps/$(*F).P; \
  36. +#    rm -f .deps/$(*F).pp
  37. +    $(LTCOMPILE) -c $<
  38.  info-am:
  39.  info: info-am
  40.  dvi-am:
  41. --- ./util/strfile.c    Wed Apr  5 06:02:17 2000
  42. +++ ../fortune-mod-1.2.1/./util/strfile.c    Tue Feb  5 06:56:07 2002
  43. @@ -450,7 +450,14 @@
  44.      Tbl.str_longlen = 0;
  45.      Tbl.str_shortlen = (unsigned int) 0xffffffff;
  46.      Tbl.str_delim = Delimch;
  47. +#ifdef __sgi
  48. +    {
  49. +    char ver[] = VERSION;
  50. +    Tbl.str_version = (unsigned long)ver;
  51. +    }
  52. +#else
  53.      Tbl.str_version = VERSION;
  54. +#endif
  55.      first = Oflag;
  56.      add_offset(outf, ftell(inf));
  57.      last_off = 0;
  58. --- ./fortune/Makefile.in    Sat Aug  5 22:28:36 2000
  59. +++ ../fortune-mod-1.2.1/./fortune/Makefile.in    Tue Feb  5 06:46:11 2002
  60. @@ -268,22 +268,24 @@
  61.  
  62.  %.o: %.c
  63.      @echo '$(COMPILE) -c $<'; \
  64. -    $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  65. -    @-cp .deps/$(*F).pp .deps/$(*F).P; \
  66. -    tr ' ' '\012' < .deps/$(*F).pp \
  67. -      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  68. -        >> .deps/$(*F).P; \
  69. -    rm .deps/$(*F).pp
  70. +#    $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  71. +#    @-cp .deps/$(*F).pp .deps/$(*F).P; \
  72. +#    tr ' ' '\012' < .deps/$(*F).pp \
  73. +#      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  74. +#        >> .deps/$(*F).P; \
  75. +#    rm .deps/$(*F).pp
  76. +    $(COMPILE) -c $<
  77.  
  78.  %.lo: %.c
  79.      @echo '$(LTCOMPILE) -c $<'; \
  80. -    $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  81. -    @-sed -e 's/^\([^:]*\)\.o[     ]*:/\1.lo \1.o :/' \
  82. -      < .deps/$(*F).pp > .deps/$(*F).P; \
  83. -    tr ' ' '\012' < .deps/$(*F).pp \
  84. -      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  85. -        >> .deps/$(*F).P; \
  86. -    rm -f .deps/$(*F).pp
  87. +#    $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
  88. +#    @-sed -e 's/^\([^:]*\)\.o[     ]*:/\1.lo \1.o :/' \
  89. +#      < .deps/$(*F).pp > .deps/$(*F).P; \
  90. +#    tr ' ' '\012' < .deps/$(*F).pp \
  91. +#      | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
  92. +#        >> .deps/$(*F).P; \
  93. +#    rm -f .deps/$(*F).pp
  94. +    $(LTCOMPILE) -c $<
  95.  info-am:
  96.  info: info-am
  97.  dvi-am:
  98. --- ./contrib/fortune.sh.in    Sun Jan 30 02:50:50 2000
  99. +++ ../fortune-mod-1.2.1/./contrib/fortune.sh.in    Wed Feb  6 06:11:15 2002
  100. @@ -1,3 +1,5 @@
  101. +#!/sbin/sh
  102. +#Tag 0x00000600
  103.  # fortune.sh by Chris Ausbrooks <weed@bucket.pp.ualr.edu>
  104.  # to be put in /etc/profile.d/
  105.  #
  106. @@ -15,7 +17,7 @@
  107.  # Options in "~/.fortunerc" take precident over those in "/etc/fortunerc".
  108.  #
  109.  
  110. -FORTUNE=@prefix@/games/fortune
  111. +FORTUNE=@prefix@/bin/fortune
  112.  OFF_DIR=@prefix@/share/games/fortunes/off
  113.  OPTIONS_FILE=~/.fortunerc
  114.  DEF_OPTIONS_FILE=/etc/fortunerc
  115.